package com.teacher.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.teacher.pojo.dto.notice.NoticeDto;
import com.teacher.pojo.entity.Notice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.teacher.pojo.vo.notice.NoticeVo;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 公告 Mapper 接口
 * </p>
 *
 * @author jiangzhuohang
 * @since 2024-03-14
 */
public interface NoticeMapper extends BaseMapper<Notice> {

    IPage<NoticeVo> getNoticePageData(Page page,@Param("dto")NoticeDto pageVo);
}
